bind: use default rndc control channel
authorDavid Härdeman <[email protected]>
Sun, 27 Jul 2025 01:02:31 +0000 (03:02 +0200)
committerNoah Meyerhans <[email protected]>
Sat, 13 Sep 2025 20:36:41 +0000 (13:36 -0700)
commit2a3454aee07f52ff13831e1d6dc8551d2f6031a1
treebf74966050178cf3b4a58de3371efa71c69b4ba6
parent0fdb6d60291493d2be2e07ca89268cd432585d59
bind: use default rndc control channel

The present logic recreates what is already the default in bind [1], and writes
the rndc key twice to two different files. In addition, the rndc key is
regenerated every time bind is restarted. Simplify this by relying on the
default behaviour instead.

[1] https://bind9.readthedocs.io/en/latest/reference.html#controls-block-definition-and-usage

Signed-off-by: David Härdeman <[email protected]>
net/bind/files/bind/named.conf
net/bind/files/named.init